//转载自陈清扬小姐姐
 module.exports =  function (num){
    let str = '';
    while(num>0){
        if(num > 2){
            str += `    ${num} bottles of beer on the wall, ${num} bottles of beer.
    Take one down and pass it around, ${num - 1} bottles of beer on the wall.\n`;
        }else if(num === 2){
            str += `    2 bottles of beer on the wall, 2 bottles of beer.
    Take one down and pass it around, 1 bottle of beer on the wall.\n`//感觉好像可以把这个去掉，但是去掉就是不对，不知道为什么
        }else if(num === 1){
            str += `    1 bottle of beer on the wall, 1 bottle of beer.
    Take one down and pass it around, no more bottles of beer on the wall.
    No more bottles of beer on the wall, no more bottles of beer.
    Go to the store and buy some more, 99 bottles of beer on the wall.`;
        }
        num--;
    }
    str = str.trim();
    return str;
}
/* 
 
                       .::::. 
                     .::::::::. 
                    :::::::::::  Come On Baby! 
                ..:::::::::::' 
              '::::::::::::' 
                .:::::::::: 
           '::::::::::::::.. 
                ..::::::::::::. 
              ``:::::::::::::::: 
               ::::``:::::::::'        .:::. 
              ::::'   ':::::'       .::::::::. 
            .::::'      ::::     .:::::::'::::. 
           .:::'       :::::  .:::::::::' ':::::. 
          .::'        :::::.:::::::::'      ':::::. 
         .::'         ::::::::::::::'         ``::::. 
     ...:::           ::::::::::::'              ``::. 
    ```` ':.          ':::::::::'                  ::::.. 
                       '.:::::'                    ':'````.. 
 
 
*/  